package com.jz.community.moduleshopping.timeLimit.ui;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshopping.timeLimit.bean.LimitGoodsBean;
import com.jz.community.moduleshopping.timeLimit.bean.LimitTimeBean;

public interface TimeLimitView {

    interface View extends MVPContract.View {
        void setTimeData(LimitTimeBean entity);

        void setGoodsData(LimitGoodsBean entity, String startTime, String endTime);

        void showError(String s);

        void sendTipsSuccess(BaseResponseInfo entity);

        void sendTipsError(String msg);
    }

    interface Presenter extends MVPContract.Presenter<TimeLimitView.View> {
        void initTimeData(String cityId, int page, int size);

        void initGoodsData(String cityId, String startTime, String endTime, int page, int size);

        void sendTips(long gid, String startTime);
    }

}
